<!-- 基础信息 -->

<template>
  <div>
    <EasyRow col2>
      <FormInput label="模板名称" bind="modelName" :max="20" required />
      <FormTree :label="`应用${CORE.MAP.ORGAN}`" bind="organId, organName" :dict="CORE.ORGAN.DICT" required />
    </EasyRow>

    <EasyRow col2>
      <FormSelect label="交接时间" bind="floatTime" :dict="DICT.TIME_TYPE" required />
      <FormSlot label="执行员工" bind="userIds" tipPre="请选择" required>
        <BaseUser />
      </FormSlot>
    </EasyRow>
  </div>
</template>

<script>
// ============================== 导入依赖 ============================== //

import CORE from '@/CORE'

// ============================== 导出组件 ============================== //

export default {
  /**
   * 名称定义 (实际使用名称)
   */
  name: 'ModalBase',

  /**
   * 混入列表 (配置选项合并)
   */
  mixins: [CORE.mixWeb()],

  /**
   * 组件导入 (Abc.vue + Abc/index.vue)
   */
  ...CORE.components(require.context('./', true, /vue$/)),
}
</script>
